/**
 * 登录模块
 */
import makeApi from '../utils/services';

export const api = {
	getCode: {
        url: '/api/account/getqrcode',
        defaultParams: { width: 200, height: 200 },
    },
    pollingToken: {
        url: '/api/account/gettoken'
    },
    login: {
        url: '/api/account/pushweblogin'
    },
    pollingLogin: {
        url: '/api/account/isconfirmed'
    }
};

const services = makeApi(api);

// 如果要定制重写某个请求接口可以在这里设置

export default services;
